﻿using Coldairarrow.Entity.FP;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 工作流传参实体
    /// </summary>
    public class FP_FlowProcessDTO: Base_OverFlow
    {
        /// <summary>
        /// 工作流子集
        /// </summary>
        public List<FlowProcessDTOItem> FlowProcess { get; set; }
    }
    /// <summary>
    /// 子集实体
    /// </summary>
    public class FlowProcessDTOItem
    {
        /// <summary>
        /// 本级
        /// </summary>
        public String StartState { get; set; }
        /// <summary>
        /// 动作
        /// </summary>
        public String Action { get; set; }
        /// <summary>
        /// 下级
        /// </summary>
        public String ToState { get; set; }
        /// <summary>
        /// 推送部门ID
        /// </summary>
        public String DeptId { get; set; }
        /// <summary>
        /// 推送部门名称
        /// </summary>
        public String DeptName { get; set; }
        /// <summary>
        /// 下级角色
        /// </summary>
        public List<string> Rule { get; set; }
        /// <summary>
        /// 下级用户
        /// </summary>
        public List<String> User { get; set; }
        /// <summary>
        /// 推送人员
        /// </summary>
        public List<Pushpersonnel> RenYuanList { get; set; }
        /// <summary>
        /// 抄送人员
        /// </summary>
        public List<Pushpersonnel> PersonList { get; set; }
        /// <summary>
        /// 人员
        /// </summary>
        public List<String> UserPerson { get; set; }

        public String UserPosts { get; set; }

    }

    public class Pushpersonnel
    {
        /// <summary>
        /// 人员ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 人员姓名
        /// </summary>
        public String Name { get; set; }
    }
}
